{{ p.codigo }}
{{ p.nombre }}
{% if p.fijo and p.fijo > 0 %}
PRECIO ESPECIAL
{% else %}
$ {{ "{:,.2f}".format(p.precio) }}
{% endif %}
{% if p.promo and p.promo > 0 %}
{% set pct = ((1 - p.promo) * 100)|round %}
PROMO -{{ pct|int if pct == pct|int else "%.1f"|format(pct) }}% ({{ p.detalle }})
{% endif %}
{% if p.pago and p.pago > 0 %}
{{ p.pago }}% DESCUENTO CONTADO
{% endif %}
{% if usuario.tipo != 'mayorista' and p.bonifcant and p.bonifcant > 0 and p.bonifcant < 1 %}
{% set pct = ((1 - p.bonifcant) * 100)|round %}
-{{ pct|int if pct == pct|int else "%.1f"|format(pct) }}%
{% if p.bulto and p.unid %}
x {{ p.bulto|int if p.bulto == p.bulto|int else p.bulto }} {{ p.unid|capitalize }}
{% endif %}
{% endif %}
{% if usuario.tipo == 'mayorista' and p.bonif and p.bonif > 0 and p.bonif < 1 %}
{% set pct = ((1 - p.bonif) * 100)|round %}
-{{ pct|int if pct == pct|int else "%.1f"|format(pct) }}%
{% if p.bulto_oferta and p.unid %}
x {{ p.bulto_oferta|int if p.bulto_oferta == p.bulto_oferta|int else p.bulto_oferta }} {{ p.unid|capitalize }}
{% endif %}
{% endif %}